package com.wu.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("用户登录DTO")
public class UserInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户账号")
    @NotNull(message = "用户账号不能为空")
    private String username;

    @ApiModelProperty("用户名密码")
    @NotNull(message = "密码不能为空")
    private String password;

    @ApiModelProperty("验证码")
    @NotNull(message = "验证码不能为空")
    private String authCode;

    @ApiModelProperty("验证码唯一标识")
    private String authCodeKey;


}
